1 =============================================================================
2 CONSOLE APPLICATION : CSStackOverflow Project Overview
3 =============================================================================
5 /////////////////////////////////////////////////////////////////////////////
8 CSStackOverflow is designed to show how stack overflow happens in C#
9 applications. When a thread is created, 1MB of virtual memory is reserved for
10 use by the thread as a stack. Unlike the heap, it does not expand as needed.
11 When too much memory is used on the call stack the stack is said to overflow,
12 typically resulting in a program crash. This class of software bug in .NET
13 applications is usually caused by deeply recursive function calls.
16 /////////////////////////////////////////////////////////////////////////////
22 /////////////////////////////////////////////////////////////////////////////
28 /////////////////////////////////////////////////////////////////////////////
33 /////////////////////////////////////////////////////////////////////////////